/*
 * Node.cpp
 *
 *  Created on: 11.10.2010
 *      Author: Luke
 */

using namespace std;

#include "Node.h"



Node::Node(int l_point, int l_level, Node* l_pred, int l_length){

	point = l_point;
	level = l_level;
	pred = l_pred;
	length = l_length;
}

Node::~Node() {

}

int Node::getPoint(){

	return point;
}

void Node::setPoint(int l_point){

	point = l_point;
}


int Node::getLevel(){

	return level;
}

void Node::setLevel(int l_level){

	level = l_level;
}



Node* Node::getPred(){

	return pred;
}

void Node::setPred(Node* l_pred){

	pred = l_pred;
}



int Node::getLength(){

	return length;
}

void Node::setLength(int l_length){

	length = l_length;
}
